package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {

    int findCountByOrderDate(Date orderDate);

    void editNumberByOrderDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<Map> getOrdersettingByMonth(@Param("begin") String begin, @Param("end") String end);

    List<OrderSetting> findAll(@Param("begin") String begin, @Param("end") String end);

    public void editReservationsByOrderDate(OrderSetting orderSetting);

    public OrderSetting findByOrderDate(Date orderDate);
}
